package com.zwps.biz.dal.db.object;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zwps.biz.dal.constant.TableNameConstant;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 角色与接口权限关联表
 * 
 * @ClassName: RolePermissionApiDO
 * @author lantf
 * @date 2023年8月22日
 *
 */
@Getter
@Setter
@ToString
@TableName(TableNameConstant.SYS_ROLE_PERMISSION_API)
public class RolePermissionApiDO {

    /**
     * 角色id
     */
    private String roleId;

    /**
     * 接口权限id
     */
    private String permissionApiId;

    public RolePermissionApiDO(String roleId, String permissionApiId) {
        this.roleId = roleId;
        this.permissionApiId = permissionApiId;
    }
}
